package configuration;


public interface Constante {
	
	String NOM_APPLI = "G.E.E.C";
	
	/**
	 * REGEX
	 */
	String REGEX_ALPHANUM = "^[a-zA-Z0-9_]*$";
	String REGEX_4_NUMERIQUE = "[0-9]{4}";
	String REGEX_2_NUMERIQUE = "(([0-9])|[0-9]{2})|(([0-9]{2}|[0-9])[.]([0-9]|[0-9]{2}))";

	int TRI_ELEVE_NOM = 0;
	int TRI_ELEVE_PRENOM = 1;
	int TRI_ELEVE_GRADE = 2;
	int TRI_ELEVE_DATE_NAISS = 3;
	int TRI_ELEVE_MOYENNE = 4;
	
	int TRI_STAGE_NOM = 0;
	int TRI_STAGE_DATE_DEB = 1;
	
	String FORMAT_DATE_SHORT = "jj/mm/aaaa";
	
	/**
	 * CONSTANT POUR LES MENU.
	 */
	String MENU_FICHIER_QUITTER = "quitter";
	
	// Stage
	String MENU_STAGE_AJOUT = "ajoutStage";
	String MENU_STAGE_SUPP = "suppStage";
	String MENU_STAGE_AFF = "affStage";
	String MENU_STAGE_MODIF = "modifStage";
	
	// Eleve
	String MENU_ELEVE_AJOUT = "ajoutEleve";
	String MENU_ELEVE_MODIF = "modifEleve";
	String MENU_STAGE_AFF_ELEVE = "affEleveStage";
	String MENU_ELEVE_SUPPRIMER = "supprEleve";
	
	// Note
	String MENU_NOTE_AJOUT = "ajoutNote";
	String MENU_NOTE_MODIF = "modifNote";
	String MENU_NOTE_AFF_CLASS = "affClassStage";
	String MENU_NOTE_SUPPRIMER = "supprimerEleve";
	String MENU_NOTE_AFF = "noteEleve";
	
	// Affectation
	String MENU_AFFECT_AJOUT = "affectAjoutEleve";
	String MENU_AFFECT_MODIF = "affectModifEleve";
	String MENU_AFFECT_ELEVE = "affAffectEleve";
	String MENU_AFFECT_SUPPRIMER = "affectSuppEleve";
	
	// Grade
	String MENU_GRADE_AFF = "affGrade";
	
	// Help
	String MENU_HELP_A_PROPOS = "aPropos";
	String MENU_HELP = "raccourcis";
	
	/**
	 * SAISIE ELEVE
	 */
	String BOUTON_ELEVE_AJOUT = "boutonAjoutEleve";
	String BOUTON_ELEVE_MODIFIER = "boutonModifierEleve";
	String BOUTON_ELEVE_SUPPRIMER = "boutonSuppEleve";
	String BOUTON_ELEVE_RECHERCHE = "boutonRechercheEleve";
	
	/**
	 * Afficher liste des stages
	 */
	String RADIO_TRI_NOM = "radioTriNom";
	String RADIO_TRI_PRENOM = "radioTriPrenom";
	String RADIO_TRI_DATE_NAISS = "radioTriDateNaiss";
	String RADIO_TRI_DATE_DEB = "radioTriDateDeb";
	String RADIO_TRI_DATE_FIN = "radioTriDateFin";
	String RADIO_TRI_GRADE = "radioTriGrade";
	String RADIO_TRI_MOYENNE = "radioTriMoyenne";
	
	String RADIO_TRI_CROISSANT = "radioTriCroissant";
	String RADIO_TRI_DECROISSANT = "radioTriDecroissant";
}